const Joi = require('joi');

exports.addArticle = Joi.object({
    title: Joi.string().min(1).max(255).required(),
    content: Joi.required(),
    outline: Joi.string().required(),
    type: Joi.string().required(),
})